from myelin.server.nodetype.Transform import EventsTransform

from libmml import reset, \
    login, \
    logoff, \
    timeout, \
    permission, \
    cancel


class EventsTransform(EventsTransform):
    
    events = ({
        'reset'             : (reset.EventHandler, None),
        'login'             : (login.EventHandler, None),
        'cancel'            : (cancel.EventHandler, None),
        'logoff'            : (logoff.EventHandler, None),
        'timeout'           : (timeout.EventHandler, None),
        'permission'        : (permission.EventHandler, None),
        },
    )
    
    submitEvents = (
        ('login','cancel',),
    )
    
del reset, login, logoff, timeout, permission, cancel